<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="<%=path%>/front/css/templatemo_style.css"
	type="text/css" />
<link rel="stylesheet" href="<%=path%>/front/css/orman.css"
	type="text/css" media="screen" />
<link rel="stylesheet" href="<%=path%>/front/css/nivo-slider.css"
	type="text/css" media="screen" />
<link rel="stylesheet" type="text/css"
	href="<%=path%>/front/css/ddsmoothmenu.css" />
<script type="text/javascript" src="<%=path%>/front/js/jquery.min.js"></script>
<script type="text/javascript" src="<%=path%>/front/js/ddsmoothmenu.js"></script>
<link rel="stylesheet" href="<%=path%>/front/css/slimbox2.css"
	type="text/css" media="screen" />
<style>
<
c:url value ="/" var ="base " />input {
	background-color: #312e1d !important;
	border-radius: 5px;
	padding: 10px 20px !important;
}

select {
	background-color: #312e1d !important;
	border-radius: 5px;
	padding: 10px 20px !important;
	border: 1px solid #5d7c29;
	color: white;
	width: 150px;
}

/* .login {
	float: right;
	display: block;
	font-size: 20px;
	margin: 10px;
} */
</style>
<script type="text/JavaScript" src="<%=path%>/front/js/slimbox2.js"></script>

<script type="text/javascript">
	ddsmoothmenu.init({
		mainmenuid : "templatemo_menu", //menu DIV id
		orientation : 'h', //Horizontal or vertical menu: Set to "h" or "v"
		classname : 'ddsmoothmenu', //class added to menu's outer DIV
		//customtheme: ["#1c5a80", "#18374a"],
		contentsource : "markup" //"markup" or ["container_id", "path_to_menu_file"]
	})

	function clearText(field) {
		if (field.defaultValue == field.value)
			field.value = '';
		else if (field.value == '')
			field.value = field.defaultValue;
	}
</script>
</head>

<body>
	<div id="templatemo_wrapper_sp">
		<%-- <span style="position: absolute; right: 100px; top: 80px"> <c:choose>
				<c:when test="${empty sessionScope.username}">
					<a href="${base}userLogin.jsp" class="login">登录</a>
					&nbsp; &nbsp;<a href="${base}register.jsp" class="login">注册</a>
				</c:when>
				<c:otherwise>
			你好:${sessionScope.username}
			&nbsp; &nbsp;<a href="${base}Users?method=invalidateSession">退出</a>
				</c:otherwise>
			</c:choose>
		</span> --%>
		<div id="templatemo_header_wsp">
			<div id="templatemo_header" class="header_subpage">
				<div id="site_title">
					<a href="http://www.mycodes.net/" title="源码之家">源码之家</a>
				</div>
				<%-- <div id="templatemo_menu" class="ddsmoothmenu">
					<ul>
						<li><a href="<%=path%>/index.jsp" class="selected">主页</a></li>
						<li><a href="<%=path%>/flowerSay.jsp">花语</a></li>
						<li><a href="<%=path%>/contact.jsp">联系我们</a></li>
												<li><a href="<%=path%>/userLogin.jsp">登录</a></li>
						<li><a href="<%=path%>/register.jsp">注册</a></li>
						<li><a href="<%=path%>/userLogin.jsp">购物车</a></li>
						<li><a href="<%=path%>/userShow.jsp ">个人信息</a></li>
						<li><a href="<%=path%>/changePass.jsp">修改密码</a></li>
						<li><a href="<%=path%>/orderList.jsp">我的订单</a></li>
						<li><a href="<%=path%>/out.jsp">退出</a></li>
					</ul>
					<br style="clear: left" />
				</div> --%>
			</div>

		</div>
		<!-- END of header -->
	</div>
	<!-- END of header wrapper -->
</body>
</html>
